<template>
  <div class="banner">
    <el-carousel :interval='5000' trigger="click" height="25.83vw">
      <el-carousel-item v-for="item in 4" :key="item">
        <img width="100%" height="100%" src="@/assets/banner@2x.png" alt="">
      </el-carousel-item>
    </el-carousel>
  </div>
</template>

<script>
export default {
  name: 'banner'
}
</script>

<style lang="less" scoped>
.banner {
  width: 100%;
  height: 25.83vw;
  min-height: 310px;
}
</style>
<style>
.banner .el-carousel__button {
  width: 12px !important;
  height: 8px !important;
  border-radius: 4px !important;
}
.banner .is-active .el-carousel__button {
  width: 32px !important;
  background: linear-gradient(270deg, #3364e0 0%, #768df6 100%);
} 
</style>

<style>
.banner .el-carousel__container {
  min-height: 310px;
}
</style>